import request from '@/utils/request'
import defaultSettings from '@/settings'

export const apiUrlConfig = {
    queryUrl: `${defaultSettings.ctx.cnapsApp}/clearAccountManage/maintenance/ClearingAccountMaintenanceApprove/search`,
}

export function detail(params) {
    return request({
        url: `${defaultSettings.ctx.cnapsApp}/clearAccountManage/maintenance/ClearingAccountMaintenanceApprove/detail`,
        method: 'get',
        params
    })
}
// 审批接口
export function approve(data) {
    return request({
        url: `${defaultSettings.ctx.cnapsApp}/clearAccountManage/maintenance/ClearingAccountMaintenanceApprove/approve`,
        method: 'post',
        data: data
    })
}
// 拒绝接口
export function reject(data) {
    return request({
        url: `${defaultSettings.ctx.cnapsApp}/clearAccountManage/maintenance/ClearingAccountMaintenanceApprove/reject`,
        method: 'post',
        data: data
    })
}